package com.tx.dao;

import com.tx.entity.LunBo;

import java.util.List;
import java.util.Map;

/**
 * @Author: tcx
 * @description: 博客轮播图数据持久化层接口
 * @Date: 2019/11/20
 **/
public interface LunBoDao {

    Integer insert(LunBo lunBo);
    Integer delete(Integer id);
    Integer update(LunBo lunBo);
    List<LunBo> selectAll();
    //数据总数
    public Integer getTotal(Map<String,Object> map);
    //查询所有轮播图
    public List<LunBo> selectLunBoKey(Map<String,Object> map);
}
